<h1>Editing source</h1>

<%= error_messages_for :source %>

<% form_for(@source) do |f| %>
  <p>
    <b>Uri</b><br />
    <%= f.text_field :uri %>
  </p>

  <p>
    <b>Category</b><br />
    <%= f.text_field :category %>
  </p>

  <p>
    <b>Desc</b><br />
    <%= f.text_area :desc %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @source %> |
<%= link_to 'Back', sources_path %>
